package zuoye6;

public class SonLikeDo implements DadLikeDo,MomLikeDo{
    @Override
    public void dance() {
        System.out.println("儿子喜欢跳舞");
    }
    @Override
    public void sing() {
        System.out.println("儿子喜欢唱歌");
    }
    @Override
    public void playbasktball() {
        System.out.println("儿子喜欢打篮球");
    }
    @Override
    public void ride() {
        System.out.println("儿子喜欢骑行");
    }
    public static void main(String[] args) {
        Son son = new Son();
        son.dance();
        son.sing();
        son.playbasktball();
        son.ride();
    }
}
